package com.opoc.service;


import com.opoc.pojo.Enterprise;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;
import java.lang.reflect.InvocationTargetException;
import java.util.List;
import java.util.Map;

/**
 * @program: opoc
 * @description: 企业管理
 * @author: lyx
 * @create: 2023-10-22 14:41
 */
public interface EnterpriseService {
  //企业基本信息
   List<Enterprise> getEnterpriseBasicInfo(String company_id, String company_name, String belong_region);

  /**
   * 添加企业
   * */
   String addEnterprise(Enterprise enterprise);

  /**
   * 删除企业*/
  String deleteEnterprise(List<String> company_ids);

  //批量添加企业
  String importEnterprise(MultipartFile file) throws Exception;

  //导出企业
  String exportEnterprise(List<String> ids)throws IOException, IllegalAccessException, InstantiationException, InvocationTargetException, NoSuchMethodException;
  /**
   * 添加图片
   */
  Map<String, String> uploadImage(MultipartFile pool_distribution, MultipartFile security_manage_net, String company_id);

}
